const path = require('path')

module.exports = {
  chainWebpack (config) {
    config.resolve.alias
      .set('components', path.resolve(__dirname, './src/components'))
      .set('common', path.resolve(__dirname, './src/common'))
      .set('api', path.resolve(__dirname, './src/api'))
      .set('base', path.resolve(__dirname, './src/base'))
  }
}
